Update Marts.js  changed positioning of else/if statements