Closes #17: fix javascript voting if redmine not on root path