pure javascript placeholder for images in local projects