Add space before brace in js snippet