add prototype 404 handler support to plugin