Updating the prototype ot use browserfity