Added option to customize the extensions
(Need to output .json instead of .js)
Merge pull request #6 from LaurentGoderre/add-ext-option

Added option to customize the extensions