added sluggify func to utils
updated util.extend func to match prototypes