add javascript to help load a div on page load