Javascript zelda clone in progress