Add spinner while comment upgrade is running, JS syntax fixes