added webkit functionality