Add doc to createPickId.  Fix jsHint warnings