Refactoring for mobile web site