Updated js field generation to use real values