I thought that as long as the script tag is below the element you need the element will be in the DOM tree when the JS is executed, but that might not be a guarantee. I can easily wrap in `$(function() { });` if necessary.