Small fixes

 * escapeHTML(everything)
 * curly braces for if
 * camelcase function_to_call
 * add missing semicolae (?)