add umd module definition code