Extract Javascript, Improve exception reporting, reduce control table size