some refactoring of ajaxon and removing title from down key button