Revert "Merge pull request #964 from bitovi/domless-compilation"

This reverts commit d4e0931347d923f45ccb9ee811a1269e5ef0dd16, reversing
changes made to 2a82b64eff75dc93c0c0a46d8e1207561a3ddc8f.