Adding JS and updated base template