Fix spelling mistake in index.html

An vulnerability -> a vulnerability
Improve shock button logic

The "shocking" variable was set to false right away, and did not wait
for the AJAX call to complete. This commit fixes that, and adds a few
semicolons.
Improve markup