fix the bug of movement and combined into a class

Why combine classes to a index.html?
during development, many bugs are found in the JavaScript problem. Due
to easily handling. I merge all classes into one classes.

Would it change the design to oo again?
the answer is yes. I not confidential in js oop, so I will change the
structure when I think I can handle