Fixed the javascript for hide the dinamic macros with this property setted. TICKET #1545
(cherry picked from commit 1fdcacf29f9c07cde34b84f46ca9ee12178fbf00)