added support for includePaths as well as include_paths to middleware.js