1. A method, comprising: detecting a first touch event associated with a webpage rendered for display in a browser environment, the browser environment implementing a plurality of functions for handling a set of touch events; when a first touch event handling property is defined for said webpage, the first touch event handling property defining a first plurality of touch events of the set of touch events for handling by a script provided for said webpage, executing said script to handle said first touch event when said first touch event is comprised in the first plurality of touch events; and when the first touch event handling property is not so defined, the browser environment handling the first touch event using one of the plurality of functions.