js quiz2 for Thomas

Finished writing the js codes, but no tests.