Main JS file for forms