draw: ability to override model colors
build: move javascript opts into build.js