refatoring front page to use extjs