The main reason was that the js resources file is relatively big, so dealing with it as a string in JS code is not that pretty. I think I'll let the fixture file there so we can refer to it later, I won't load it but will use a minimized version for ajax mocking.