It's okay to return early if the types are consistant
Merge pull request #10 from Wikia/js-early-returns

It's okay to return early if the types are consistant