Implementing suggestions from Michael's code review:
Shifted all of the scripts used across JND/Stevens into header.js --> now jnd_experiment_scatter.html, jnd_experiment_strip.html, stevens_experiment.html only loads their respective model + timeline scripts and calls the header using:
<%- include('../header'); %>
Changed all script source path to use root-relative URLs
Changed protoypical inheritance (ES5) to use class-type syntax (ES6) - more similar in structure to classic Java inheritance
Implementing suggestions from Michael's code review:
jnd_experiment_scatter.html
,jnd_experiment_strip.html
,stevens_experiment.html
only loads their respective model + timeline scripts and calls the header using:<%- include('../header'); %>