updated sidenotes and added js libraries