ticket:6 fixed js