removed document onReady call