mytest code of javascript and ruby from 2014/7/26