comment and style tweaks
adding some npm goodness