Broke up the synchronous calls because webkit