Remove image center javascript