js syntax improvement