minor cleanup for jshint warnings
more jshint cleanup
Added better browser support and updated tests and examples
Minor update to readme