moved js to lib folder