What would be the fun it that? But here is a answer from stackoverflow that has something very similar to what I was thinking. That way you at least can do without apiIsReady and replace it with something bit more useful 
Keep having fun!
What would be the fun it that? But here is a answer from stackoverflow that has something very similar to what I was thinking. That way you at least can do without apiIsReady and replace it with something bit more useful 
Keep having fun!