Rewriting and updating LTI JS and tests.