Better js syntax