Update addWmsToMap due to ol3 parser changes