Javascript/jQuery based top-down 8-bit game