Javascript RESP library