Major JavaScript fixes and new quiz graphics