Cleared up template HTML and fixed stopping bug.

Also replaced js inside template. Whoops.