added some webkit functionality