Add QUnit test for initOperation, change style buttons
Remove global var props
Fix some JSLint issues
Merge branch 'master' into gh-pages