JavaScript library for accessing IAGO