In the code below I want to hide the contents of the key(speaker) key being viewed by browser console.
var App_Version
Well you can't "hide" javascript.
You can encrypt it with an obfuscator but most people can decrypt it using a beautyfier. However check this out:
OBFUSCATOR