style(js/custom): updated coding style