move js in file