ecommerce: revising javascript validation, form mechanics