Added basic JS syntax checking of downloaded resources