Implementation in JavaScript using scripts from http://timo.gnambs.at/de/scripts/bart .
More information on http://www.impulsivity.org/measurement/BART
Lejuez, C. W., Read, J. P., Kahler, C. W., Richards, J. B., Ramsey, S. E., Stuart, G. L., Strong, D. R., & Brown, R. A. (2002). Evaluation of a behavioral measure of risk taking: the Balloon Analogue Risk Task (BART). Journal of Experimental Psychology: Applied, 8, 75-84. doi:10.1037/1076-898X.8.2.75