javascript file contained : instead of ;