Ghost footer outputs minified jquery in production

Closes #2524

- Added minifying jquery in grunt prod task

- Add test coverage for altered jquery