HCI experiment - Code written in html and javascript