fixed bug where macro function definition could not be supplied params
fixed bug where macro function definition could not be supplied params

Change-Id: Iab7a1f4db050a7628ddbd8c379dcddabf5d087fc

WeaveTeam/WeaveJS,WeaveTeam/WeaveJS,WeaveTeam/WeaveJS,WeaveTeam/WeaveJS