fixed javascript error (missing semicolon!)