Fix the ajax chrome/firefox problem and column count for ajax