fixed javascript: semicolon