keysnail.js: set globally