Skeleton for a JS module pattern