Added console log and binding to initialize event.