Javascript bug fixes + translation update