1533 fix maxlen for files constructor.js and ajax.js

Manually fixed three lines in lib/constructor.js and lib/deps/ajax.js