Testing javascript

I'm learning javascript, so here goes nothing.