Prevent duplicate Javascript.