Make use of js_env helper
accepts: 1d5de80