standardizing prelim form js