Remove unnecessary conditional in script enqueue call
Switch from inline-requires to dependencies-up-front

This is a more common pattern for AMD in the browser, and is therefore
less potentially confusing for new AMD users