Changed index to return json, added global.js and jquery to default layout.
Merge pull request #3 from rsegebre/master

Changed index to return json, added global.js and jquery to default layo...