Added the support to destroy page through the format.html call