An online table-tennis game in javascript