Made sure the browsers built-in JSON is used everywhere.
Added support for real fullscreen on >Safari 7.
Adjusted fullscreen to work better on all browsers.
Renamed export JS variable because it's reserved in some browsers.