Fixed some JSHint errors with adapter.js

Fixed some JSHint errors with adapter.js
Adding 'use-strict' to adapter.js
Merge pull request #77 from GoogleChrome/vikas_jshint_adapter

Fixed some JSHint errors with adapter.js