CodeGenerator: Copy module descriptor to js generated project

Change-Id: I96d516c8d0315d5b4dd1250304327ed92b2f8c80