this["$SCRIPT_NAME$"] = function(){ $CODE$ }; try{ this["$SCRIPT_NAME$"](); }catch(e){ console.log(e) }