Set 'localStorage.debug = true' to include bows logging
Let user know they are using debug mode
Code tidy