ticket:59 fix js bag