So for quite sometime now I have been using javascript to manipulate elements of a website such as rotating an image upon the loading of a page. Up until now it has worked just fine, but lately I have been bothered by the fact that you first see a placeholder image while a page loads and once the page has loaded, javascript kicks in and switches out the picture to the new image.