Just came across a deadlink on www.theserverside.net refering to a post by Kevin Jones about Embedded Resources in ASP.NET. Couldn't find the item on Kevin's blog, but a Google search brought me to http://haacked.com/archive/2005/04/29/2879.aspx which explains it pretty well.
Embedding Javascript in your assembly resource seems a great way to avoid deployment issues.