Revert "Morph code to be closer to upstream"

This reverts commit 6a21b210c5a18545ab67ec49b3b276ca2b95f443.

Conflicts:
	src/range.coffee