remove unnecessary tracing code
make string translatable
update JS docblocks
add todo comment to unfinished function