removed unused randstring method, added listener for statechangeerror, cleaned up some jshint issues
removed unused randstring method, added listener for statechangeerror, cleaned up some jshint issues

astrism/GodHatesCharades,astrism/GodHatesCharades