I didn't notice this before, but this seems really odd. Why do you need to require `require` with `require`?

If you can get rid of this, please do.

I'm also not totally clear on why you're requiring `ext/jquery` here.

In the first place, since the config has been set up, just `jquery` should work. In the second place, I don't think you're using jQuery in this file?