Swap to amd modules, fix broken templating and dependencies
Remove unnecessary dep