changed form to split values and displau options re-wrote form.js