IE8 javascript error fix. Fixes #88.

IE8 doesn't seem to like options.class.
Renaming it to options.classname fixes the issue.
Unterminated function fixes

I haven't noticed the missing semicolons causing any actual issues, but best to include them to ensure maximum cross browser compatibility.
Readme/changelog update.
Merge pull request #89 from om4james/ie8fix

IE8 javascript error fixes