subtotal helper function is working but also seems to be breaking something in ember