Use data-confirm than confirm attr
Use jquery ui gem
Remove old jquery ui css