~/.js based on their filename.
If you navigate to
http://www.google.com/, dotjs will execute
On subdomains such as
http://gist.github.com dotjs will try to load
~/.js/gist.github.com.js as well as