move js in to js directory