Return 501, not 404, on JS view query if view-compiler isn’t installed