Upgrade appearance
Hard refactoring js files