parallelising
jshint tidying up