dev: use jshint
rafactoring: use undefined parameter for undefined
dev: add jstest module in jshintrc
add builtin: abs method
rafactoring: remove space of unnamed function