add client side image placeholders javascript