Added js extension to the package file

Now using the process cwd to make sure the config file is correctly
located.