A primer into programming in Javascript