Good tips for decreasing marginal js file size with google closure compiler, but this doesn't really protect your code at all. It might make it a little bit harder for someone to immediately figure out what your code doing, but by know means will it stop anyone who isn't new to js. I have gotten used to going through competitors highly minified code to make sure they rant stealing any of my js