Use require until Opal 0.7.0
Merge pull request #27 from Mogztter/compile-js-require

Use require until Opal 0.7.0