Code cleanup

One elseif statement got fixed (was still using the original settings
object), console.log calls removed. + minified plugin uploaded.