adds correct parsing for multiple browsers