Making real time stock trades in the browser