form.js modification

- remove unneccessary array length check