Modifying the require style since it was crashing during asset precompil...

...ation