Hey Yang,
Apply a dataview on the page and then put the Js Execute As the datasource and it will be triggered as soon as the page loads.
Hope it helps!