milestone: change javascript validation for #180