removed superfluous code

Got rid of console.logs and uneeded array decorators.