Minor typo

'isoceles' to 'isosceles'
fix #41775;

Test plan: Check my spelling

Auditors: beneater, alpert
Fix an arg mismatch: extract_file() does not take a verbose arg.

Audit: john
Update khan-exercise.js

Unbloating
Merge pull request #43487 from ziggyism/patch-1

Refactor related-video mouse event logic
Typo denomiators -> denominators

fix #43499;

Test plan: check spelling

Auditors: alpert
Remove confusing "times older than" wording

Closes #43492.

Auditors: peter, eater
Get rid of an html-style comment in javascript.

Summary:
Could use //, but the comment is not adding anything new, that I can
see, so I'm happy to just nix it.

This was messing up the python javascript parser I was throwing at
this file.

Test Plan: None

Reviewers: eater, alpert

Reviewed By: alpert

CC: alpert

Differential Revision: http://phabricator.khanacademy.org/D2103
No longer accept answers with a negative denominator
Merge pull request #43528 from petercollingridge/non-neg-denom

No longer accept answers with a negative denominator

fix #43485; and keep Alpert happy.

Test plan: Test exercises http://localhost:8000/exercises/simplifying_rational_expressions_2.html and make sure it still accepts the correct answer whilst rejecting answers with negated denominator and numerator.

Auditors: alpert
Fix to actually select the correct equation

Test plan: as before - check a few example exercises

Auditor: alpert
Merge pull request #43433 from petercollingridge/domain-q

Students must state the domain of simplified expression where necessary.

fix #43504; fix #43362;

Test plan: try a few example exercises (note that 1 of the 3 types don't require a domain to be specified) http://localhost:8000/exercises/simplifying_rational_expressions_3.html

Auditors: eater, alpert, cbhl
Remove menu and autocomplete utils/jquery-ui.js

Summary:
Neither of these appear to be needed directly in khan-exercises, and
they're both served off of the main KA environment. The duplication with
the contents here are causing issues in autocomplete behavior when
exercises are loaded.

There is still an issue of duplication for many of the remaining modules
in jquery-ui.js, such as jquery.ui.core, but that duplication doesn't
appear to be causing issues right now, and are useful for testing
khan-exercises outside of the full KA environment, so I left them in.

Test Plan:
python -m SimpleHTTPServer
navigated to a handful of exercises randomly, made sure they worked
ack '\.autocomplete\('  # no results
ack '\.menu\('  # no results

Reviewers: eater

CC: alpert

Differential Revision: http://phabricator.khanacademy.org/D2109
Remove ?test mode since no one uses it

Auditors: eater, cbhl
Start separating out interface code from khan-exercises

TODO: make local mode work again, separate everything else out

Test Plan:
Did problems in addition_1; took hints, lost leaves.
Saw that my perseus exercise doesn't make a failing HTTP request anymore.
Commented out exercise-content.js and saw that when loading a Perseus exercise, the only JS errors were from binding events in exercises.js and user-exercise-cache.js -- those'll be the next things I tackle.
Move other events to Exercises event bus

Test Plan:
Did problems in addition 1, took hints, saw leaves decrease, finished stacks, etc. and everything looked okay. ack "\bKhan\b" javascript/exercises-package/ gives nothing suspicious any more.
Fix formatting for money with negative values
Ensure prize in lottery is never negative
Move interface.js to within khan-exercises

(No other changes)

Test Plan:
Loaded Addition 1.
Split out most exercise interface code

There is no scenario in which this is not a bitch to review. Sorry.

TODO: make local mode work again
TODO: get rid of utils/hints.js and merge with exercise-package/interface.js

Test Plan:
Did problems in Addition 1 locally and took hints and saw buttons update and lost leaves.
Make local mode work again and fix a few bugs

Auditors: eater, cbhl