Use fixmyjs to resolve many jshint complaints
stop creating variables named ‘for’ (via jshint)
stop overwriting existing variable ‘type’ (jshint)
move function creation outside the loop (jshint)
explicitly declare the ivar sequenceName

(turns out it MUST be global or an ivar)
refer to unloadModel correctly

(inside a try/catch, you can’t see exceptions :/)
Merge branch 'indirect-make_jshint_happy'