Is there any trick how to start a function in javascript, which starts when the page is completely loaded?
$( window ).bind( 'load', function() { //your code in here } );