minor cleanup
fixes for asset precompilation & dependency injection