Added switch to enable AJAX suggestions to be turned on or off