remove unused functions from render/main.js
remove unused functions from render/main.js

better comments

xwiki-labs/cryptpad,xwiki-labs/cryptpad,yflory/cryptpad,xwiki-labs/cryptpad,yflory/cryptpad,yflory/cryptpad