Add helper function to access assets config.

This change adds a minor refactor to DRY up the cssmin and
uglify tasks.