Added Kenny's new code to interactivity.js so the index file isn't cluttered