Fix khan-exercises dependency ordering

Test Plan:
 * Visit the '17. Polygon' template
 * Check that it rendered (it should NOT say
   "TypeError: Cannot call method 'equal' of undefined"
   anymore)