Sorted - s*dding editor and me not seeing eye to eye on whitespace!  Checked on jshint - all ok!