More fixes to the openscad javascript file.