rewrote index, examples, and cards js files. Still need to add in more examples