Rewritten an if into a browserify directive.