Javascript tron clone