Remove onload event from application layout