Each graphic gets its own JS.