removed the need for null checks in the Piechart. Removed some unneeded rx javascript files