Fixed js path; added background colour while image loads