Various JavaScript experiments