Include requirejs
Wrap everything in requirejs defines
Replace script build tags with requirejs call