Load javascript in footer