Add nearest plugin and start support for touch events.