Updated main.js after running through jsbeautifier.org to standardise indentation, etc.
Added global 'use strict' to main.js and updated code to avoid errors
Added JSHint options to main.js and updated code to validate; got rid of a few redundant brackets
With 4 spaces for wrapped lines
More indentation fixes
Changed test for null return back to test for undefined
Reverted - test for null return, not undefined
Deleted fields code; indentation tweaks
Merge pull request #71 from GoogleChrome/jshint

jshint: js code validation and beautification
adding Opus FEC support
Merge pull request #75 from minyuel/master

adding Opus FEC support
to go
Fixed some JSHint errors with adapter.js

Fixed some JSHint errors with adapter.js
PermissionDeniedError
PermissionDeniedError
Merge pull request #78 from fippo/permissiondeniederror

PERMISSION_DENIED was renamed "PermissionDeniedError"
Adding 'use-strict' to adapter.js
Merge pull request #77 from GoogleChrome/vikas_jshint_adapter

Fixed some JSHint errors with adapter.js
Update adapter.js to enable strict mode without errors.

Extra tweaks, e.g. adding `window.` where appropriate.
Fixed position of DOCTYPE declaration and closing body tag