Create majors.js

To get requirements from each advice .js file; only math is partially implemented now.