From my read of the docs, try_files expands aliases, so the alias directives in your location blocks are unnecessary, causing nginx to look for /home/mysite/www/js/js/whatever.js
You're right, thank you. The aliases are completely useless. It's just strange to introduce such a change in a "stable" release.