simulate click event
make compatille with chrome