Changes to the UI for forms

Changed the arrangement of advanced search and page options
Fixed issue with ‘undefined’ being passed as a parm in the js
Added styles for new layout

[#60343394]
[#60341698]