add javascript comet