Add system property com.nokia.mid.batterylevel
Use postMessage to communicate from parent to child. Fixes #532
Ingore messages from the window itself
Cleanup in this.socket.ondata
Add AudioRecorderMidlet
Implement audio capture api
Fix the timing issue when media permission prompt is not disabled.

Also add audio-capture to permissions of manifest.webapp.
Merge pull request #633 from PinZhang/pzhang/batterylevel

Add system property com.nokia.mid.batterylevel
Merge pull request #619 from PinZhang/pzhang/pr-audio-capture-rebase

Implement audio capture API
Merge branch 'master' of https://github.com/andreasgal/j2me.js into pipe_postMessage
Fix recently landed AudioRecorder
Merge pull request #638 from marco-c/pipe_postMessage

Use postMessage to communicate from parent to child
Flush unclosed files actively to work around bug #227.
Show the getUserMedia camera stream when a MIDlet opens a capture://image media element
Take a shot from the camera stream
Send a MMAPI_EVENT native event when the screenshot is taken and return its data back to DirectPlayer. Fixes #358
Use image format for toBlob from the encoding parameter instead of hardcoding it as 'image/jpeg'
Missing fromJavaString in DirectPlayer::nStartSnapshot
Use 'image/jpeg' as default if getSnapshot parameter is null
Merge pull request #639 from yxl/flush

Flush unclosed files actively to work around bug #227.