javascript document getelementbyid click event