fixed semantics + syntax errors based on jshint
Merge branch 'fixJsHintErrors' of https://github.com/GoogleChrome/webrtc into fixJsHintErrors