HTML5/JavaScript interface