title: protecting javascript code by placing in php code
body: <p>I was wondering, when trying to protect javascript code, instead of just obfuscating it and making all measures of dynamically loading it, couldn't you just run the code through a .php file to make it hidden in the html source code?</p>