http://stackoverflow.com/questions/6157929/how-to-simulate-a-mouse-click-using-javascript