Added jsDoc style comments