Fix bug where a scene contains geometry with different number of vertex attributes
Fix debug value in Makefile.js