[js] Some missing semicolons