Some JS to draw a skyline silouhette onto a canvas element