Updated README
Got rid of 'undefined' global errors in JSHint and replaced jquery code with vanilla javascript