Playing with JS and webapps