Handle uninstalled package case for JS dependency checker.

If a user doesn't have the huxley package installed, then the
result of `npm list` will be an empty object (meaning it won't
have the 'dependencies' property). This defaults the dependencies
to the empty object.