Still bugs in generated javascript.