using minified version of requirejs, profile template legend tweak