Added hapitest.js. All is done aside from the checkboxes.