Update main.js

Incorrect charting calculation fixed. If small project, the inception and transition were being cut off.
Update main.js

Now this is correct for charting. Inception and transition were dumped on small projects.
Merge pull request #8 from StormMagnus/patch-8

Update main.js