I managed to normalize all the browsers without browser-specific methods.