Use safe.js from npm module