added some jsDoc comments
added siteSpeedSampleRate