Fix tests run in Firefox
Fix tests run in Firefox

eggpi/awesomplete,bchcheng/awesomplete,LeaVerou/awesomplete,bsvobodny/awesomplete,vlazar/awesomplete,bchcheng/awesomplete,bsvobodny/awesomplete,eggpi/awesomplete,LeaVerou/awesomplete,vlazar/awesomplete