Re-organised JS libraries, and added missing assets