added javascript tag in application layout

- fix method :delete