Fix issue 130 - empty JS file exception -> add try/catch
Merge pull request #139 from maskamar/fix130

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