remove ajax stuff
add semicolons
remove trailing whitespace