Modernized the fullscreen API and added support for IE11. fixes #1155 closes #1205