Started converting the home page to use the new form of js (requirejs modules).