Ball is moving now

Used javascript instead of C# from the example