Switch to .on() to make print button work for elements added after page load