Pure js implementation of streaming rates using OANDA open api