Getting JS to hook to external file and be available on document ready.