Javascript wrapper for the OANDA REST API