move js to app dir