Fullscreen API in JavaScript

This is a companion discussion topic for the original entry at http://iq.opengenus.org/fullscreen-api/