Make enter key work for non-angular