move .js to directory