fixes /formtester and /forms that broke due to API changes, started adopting better javascript code style,