Implement the academic week number and changing terms functionality

Not sure as I haven't checked how this gets called but could this be replaced with `$(this)`?