Ghost footer outputs minified jquery

Closes #2524

- Added minifying jquery in grunt prod task

- Add test coverage for altered jquery