add support for slimerjs as global npm module