New JS-API more/less working.
Final transaction stuff in JS-API and bug fixes.