fixed issue with invalid file format for source.js