Remove window.onload, add jQ check every 0.5s until it has been loaded