Snake game in FireBug console