Portal search (js): console.log() -> log()