Do not wait for the complete document is loaded to run the js code.