removed output to console used for debugging
cleaned with JSHint