Client side code for the Trinity project (HTML5, javascript, images...)