Fix crash of converting ccacceleration to jsval.
Merge pull request #151 from dumganhar/master

Fix crash of converting ccacceleration to jsval.