move all js to local