fixed the missing comma and add a if ststment to ace.js to load default theme

fixed the missing comma and add a if ststment to ace.js to load default
theme