Fix for making the Switch Style work in Firefox and IE9+