fix small js syntax error

Found when browsing to any report page.