allow it to be browserified from npm