fix for issue #5

Matches .js files being included in parent directories or hidden folders.