allows this to be used as a Common JS module, an AMD module, or a global
 - updates jshintrc to reflect that
 - proper usage in example html
 - updates README to reflect