simple RPG game using OOP/jQuery