Use constant
Saving to syncFS now works
Cleaned up contour.js a bit