fixes bug in IE and Firefox with webkitNotifications supported only in Chrome
remove jshint warnings
Merge pull request #86 from sejoker/master

fixes bug in IE and Firefox with webkitNotifications supported only in Chrome