moved extensions from main.js to json/ext.json