move client scripts to bottom of body