some  JS example writen by self to help me to understand the plane JS theory