Removed path dependency

Now the library can be placed into a folder that is not called 'js'.