Try to fix error, when jQuery included at </body> 

With using window.onload.