Revert "Merge pull request #8 from lonnen/migrate-off-js-1.8"

This reverts commit 3f0a123b655bcbfb3fad25be2fcd963d07d062dc, reversing
changes made to 9976f69037893ff7c06ffe8b635c37ced0988f52.