adding annotation javascripts