Some basic test in javascript with html5 stuff