Simple obfuscation will not protect your software from hacking. If you really want to protect your javascript, adding something that will make the life of someone trying to steal or tamper with your software is very difficult, you should check out Jscrambler . I have not yet seen a solution that is approaching the level of protection that they allow you to achieve.
Regarding the issue with the source cards, if you obfuscate yes, you should delete them.
source share