removed browser sniffing code from js file