moved lib js to lib folder