moves js files to lib