added working sweetalert functionality to helloworld.html