Silly javascript error cleanup. All non-harmful as JS is super forgiving