Update sherpa.js

updated theme override function