refactor code to handle separate indexes for perm searching and general
work information searching
refactor js code in general search
fixed layout to be more responsive and handle mobile devices