1. Refactored widget.js.
2. Added code in init.js and index.html for correlation graphs.
3. Added "refresh" graph code to widget.js.
4. Added .gitignore