make bootstrap.js have balanced scopes to modify JavaScriptEmitter
easily
do not repeat static initialization
add tests
fix instantiated class names to use declared one, instead of serial numbers
refine error messages
comments