A small javascript program to help me learn web app develpment