edit madlib js if else