Fixed event bug. Now accessing orginalEvent to get to srcElement attributes.