polish of javascript on phrases