adding javascript to CI

now client can decode the qr and send it to server