Attempting to conceal your code from users is a fruitless endeavor. Even if it's hidden from view, tools like Firebug can easily uncover it. In the past, using a minifier or packer was thought to provide some level of protection, but websites like can quickly unravel packed code and reveal its contents.
In reality, there is no foolproof way to hide code. If it were achievable, major companies like Microsoft, Google, and Yahoo would have been doing it for years.
Consider JavaScript, HTML, and CSS as essentially open source, as their code is readily accessible with just a click.