Update ending syntax of form.js and lib.js