added new searchEvent js