Fixed compilation of invalid JS source
Merge pull request #2 from Dremora/invalid-source

Fixed compilation of invalid JS source