move js to separate folder