Added Sweet alert javascript