Move default.js content into its own file.