Better error handling, fixed recursive require function
Ignoring .map and .js files