Moved out JS and styles for the demo into their own files.