put app javascript on the bottom of the page