Move *.js to lib directory