Tag JavaScript variable initialization