Add this code to your custom CSS:
Add this line to your Custom HTML Body below your template layout merge code
Add this script to the bottom of your Custom HTML