Pharmacology widgets

Additional widgets for Compound and target pharma. Fixes issues with console reporting undefined function errors. Tested all widgets in chrome and the console reports no problems. There is always the issue that network or api problems could cause errors to be reported.