put scripts to bottom of page