Bitcoins and JavaScript