Added option to customize the extensions
(Need to output .json instead of .js)
Merge branch 'add-ext-option' into custom