move js into partials folder