Refactored Javascript and added in remaining available content for each task page

I did a big refactor of the javascript, splitting it into files and making it much more modular.
I also added in all the content we currently have, still many blank sections though, which hopefully Cris can provide at some point.