Need to change way of doing this get the stuff from webkit dirrectly this is to slow and stupid