JavaScript RPG Advice