added error message when roi distribution chart could not be generated
fixed tiny javascript error when project has no analysis yet