"dict" in javascript mode can now use d.get('x','mydefault')