Minor: restore generated line break so that file do not get dirty on every regeneration
Slice functions for arrays and lists.
Add reverse() function to js version of StringBuilder
Support String in generators, and migrate generated functions.