extract grunt's namespace methods to external library