issue #5527: fix jsb namespace bugs
Merge pull request #531 from joshuastray/master

issue #5527: fix jsb namespace bugs