Moved the 'window' object and some of its functions to the 'Browser' module.
Fixed missing import
Changed sync and sync' so they also support JS without return value.

Both now return a 'Maybe' value. In case the JS does not
return a value they just execute the JS asynchonous and
return nothing.
Fixed all examples to run with altered sunroof functions.