Clean up schema a bit.
Convert majors.js to be require()-able