The small emblem that you see next to the menu is an invisible element that represents the script on the page. If you have the code on the page the same then the element should appear so long as invisible elements are enabled.
To check this go to Edit > Preferences > Invisible Elements. In here make sure that you have scripts checked. Also go to View > Visual Aids and ensure that invisible elements is checked here as well.
If you continue to have problems with this please post back with the page in question and we can take a look.