Why doesn\'t the following work for me?
Because a label element is not loaded when a script is executed. Swap the label and script elements, and it will work: