Revert "HTML5 compile fix"

This reverts commit cbdce6f33f5eba14814a59afefeee807e50ebf11.