fix browserify can't deal with 'if' issue...