apply JS conventions