add javascript type to ack