remoced console.log from pir
added pir1.js