Fixed: application not loading

Fixed: there was a race condition between the bootstrapped JS being evaluated and the DOM being loaded.