remove unnecessary comma
runn e2e and unit test both while builing
remove defalut attr param, to fix jshint warning