For anyone who's interested, I finally had another go at moving my application to DNN 8.
I discovered accidentally that changing the order the jQuery files are loaded (via ClientResourceManager) gave a different error.
That got me thinking, I validated all my jQuery using this site: http://jshint.com/
Just found a few missing semi-colons, but enough to remove all errors.
I realise I should be using GULP.