Fix issue 130 - empty JS file exception -> add try/catch