Added debugging flag to backend JS

Suppress debugging alerts and console.logs for user testing. If you need
to see the alerts or whatever, change the debuggingBackEnd flag to true.