some edits to clean up dijon.js