Just add in body:
<script> esFeatureDetect = function () { console.log('Feature detection function has been called!'); }; esFeatureDetect(); </script>