Refactored jquery code for opening links in a new tab into the application.js file, and then referencing the method in each of the three individual files.