I have no idea why the dashboard JS was a Jade include. It's now a normal Javascript file.