Code improvements and some unification with browser detection code in javascript