add Xively into js