Remove unecessary log printing
Minify portal.js