List files in bundled folder?

Say i have some files in app/migrations that gets copied to www/build/migrations, with names like:


I want to get a list of the names without having to reference them anywhere, if it were in the server i would use the Node.js file system, if it were in the mobile i could use a Cordova plugin, but what about in normal browser?