This is my initial efforts at learning javascript.