Polyfill for firefox Rally styles