added fb stuff for all charts to the worker, removed fb calls from the controller