added jsDuck documentation - in process; code cleanup