Fixing some minor issues with search
Creating javascript to query search profile action