fix resolve uri regexp

resolve when file extname is `.js`
Merge pull request #5 from Bacra/bacra-push

判断是否为js文件的正则有问题