Checking for both plain js files and for generated js files (app and .tmp)