Fixed Errors in Search.js Achieved Goal

Fixed Errors in Search.js Achieved Goal