add option for translation position.
pass the translation position option into javascript.
support title and comment translation. remove the redundent functions form js script.
beautify the js code.