fix bug that missed semicolon which caused an runtime exception

That's bad i haven't run the `jshint` first last time.