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