fix factory name
fix format issue
silent jshint warning