fixed syntax in main.js and added da to default.js