Userscript utils for redmine