Merge pull request #43 from Rob--W/master

Case-insentivity for MIME-type mapping
Use strict mode, add jshintrc and enforce jshint
Define onerror callback if not specified