A javascript application prototype