jshint with gulp
Break up nested loops
Fix problem with undefined partial blockage