all forms changed to js model