moved over js files to lib folder