Update route.js

replace '!='(equality) operator with '!=='(identity) operator.