Add Custom Event Javascript Dom W3schools Mysql