install jsGlobalVars section in layouts