made it work for on page load for tubolinks