Pass category id into JS via ERB template.