updated constructor documentation 

to comply with new "object literals" rule (fixes #801)