Fix downloads page

This fix uses a tiny bit of front matter, and pushes the downloads page script into its own file.