Minimalistic javascript based bitcoin POS system