added armor and sword enchant functionality
jquery added temp for offline