only process js files
Merge pull request #7 from lepture/filetype

only process js files , copy other files only