fix history undefined bug on jsb
Merge pull request #663 from joshuastray/master

fix history undefined bug on jsb