Browser version of jResize