Activation tab

Updated the JS for the activate/re-activate course tab.
I think we should try to stick to a spacing convention where possible.. I've been using 4 spaces for JavaScript just like all our Python code.