Pure javascript implementation of streaming rates using OANDA open api