Init functions are called only when file is loaded - simple trigger mechanism with onload and onreadystatechange events. From now all functions and variables in current scope are callable via this instead of global name.