Fix for erroneous added events on folders
Fix tests, **/*.js should not match folders that are not named *.js