Added functionality for extracting RequireJS module definitions from JavaScript source code files.