Just an attempt at a Javascript RPG game