make the source pass jshint
Merge branch '2.1devtf' of github.com:01org/appframework into 2.1devtf