added new oauth to new browserified structure