Updating the template and Js to account for the Explanation class