Correct javascript error

Correct missing semicolon