updated browser compatability for vendor functions