99 bottles: add javascript implementation