comments enhanced to jsDoc format