overhaul transonly to get it working with webkit