A javascript story telling framework