Fix JS doc for private methods