Extended functionality provided to web programs