JS repopulates hidden fields YAY