It would depend completely on how the code was to be distributed, and how you plan to release your code base.
For stuff which is freely accessible to the public e.g. JavaScript files, css even if they are obfuscated I would say that yes you need to have a notice there if you don’t want people to use it. Although that is not always going to work, even though the copyright is implicit it is easy for people to plead ignorance.
For code which you give to the client for hosting on their systems (compiled or not) we tend to give them a software licence agreement with the code and make them sign it instead of adding lines to each page, as i find every page having 10+lines for legal jargon at the top of my code page ruins its natural beauty! :P