Remove a superfluous line in js file