sedra.js: More optimizations.