Fixed quick moderation javascript, thanks Antes for pointing me at some ugly code (I wrote it, so I can call it ugly :P)

Signed-off-by: emanuele <emanuele45@gmail.com>
I think this code is useless...

Signed-off-by: emanuele <emanuele45@gmail.com>
Though it may not be useless, but it should belong to themes.js, if needed, I think

Signed-off-by: emanuele <emanuele45@gmail.com>