Added missing objects and methods to the JavaScript wrapper according to Mozilla documentation https://developer.mozilla.org/en-US/docs/Web/API/Window
Merge pull request #379 from demonixis/master

Added missing objects and methods to the JavaScript wrapper according to...