[BUGFIX] Respect global TypoScript asset configuration

This is actually the proposed code turned into a PR. Fixes #370.