fixed a bad webkit reference
fixed some of the instantition logic