reload js after page:load