Add some js: idGen, formElems