Added warning message on page exit/reload when the user changes the wear...

Added warning message on page exit/reload when the user changes the wearscript code.