update js to work with form cols #5158
Merge pull request #5502 from openscholar/5158-js

update js to work with form cols #5158