Revert "Merge pull request #36 from abergmeier/emscripten_fix"

This reverts commit 6a4d901dde7b3f87984c563505717cde3113d16e, reversing
changes made to b50a13b9c07ec09af4b9697e482acdad571e6961.