renames 'lib' path to 'js' and updates all requires
updates require paths