Bug 947865 -[Cost Control] Settings are broken and unusable

(cherry picked from commit 012f11bc56c949ad9e9df399c57448a8436d1448)
Merge pull request #14527 from gitmai/bug-948304-remove-mindgap-reference

Bug 948304 - [Cost control] Remove reference to mindgap.js library
r=salva
(cherry picked from commit 1be287a4f607a2b6278b7f30e2e148764748e7b6)