Update spa.js
Merge pull request #3 from zhaoda/patch-1

Update spa.js