inserted build directives for single-use helper functions that can have their content moved inline;
added custom grunt task to replace tagged inline function content