refact ablejs default action.