Fixed empty src attribute in script elements (localStorage mode)