Create bundles folder if it doesn't exist, fixes #43
Wait until the dashboard is loaded before extracting clientApi