Started to add some data structures and common Javascript functions