add jquery call for macronames/macrofunctions