CRM-11864 - qa bug fix - change function to static and fix calls

----------------------------------------
* CRM-11864: Embed form-designer in event and contribution UIs
  https://issues.civicrm.org/jira/browse/CRM-11864