This reverts commit 5a940c207a. Detection of full screeen support requires the document to have a body. This is not the case if ol3 is loaded in the head. Therefore, defer the test for full screen support to when it is needed.
5a940c207a