upgrade annotate.js