Fixed an issue causing the tax and scale flags to be wrong when inventory is created. Moved some of bootstrap to load via requirejs.