Fixes template listing for use as a Node module