added js creational pattern w/ author info 2