Slightly nicer JS syntax