Fixes osgjs parsing if there is no primitiveset
Merge pull request #161 from cedricpinson/empty-primitiveset

Fixes osgjs parsing if there is no primitiveset