It has to be dynamically called, except for the first time. Setting it as a variable in the top scope would effectively make it a constant. Also, it needs to be tested for undefined in IE8.