Updated the red/yellow/green coverage colors
Make index.js executable
Guard in case a line doesn't have the required properties