fix jslint violation
go to register