Simple preprocessor for JavaScript files for adding AMD style definitions