renaming spa.js to init.js

because it was giving error 404 in the blog example