event driven stack lib added fo index.hmtl