move js to resource folder