Cleanup of JavaScript
Added hint on page selector
Written new translations.