fix loading of files other than *.js and *.coffee
Merge pull request #46 from matoilic/upstream

fix loading of files other than *.js and *.coffee