minor formatting changes
updated syntax, cleaned up html template