Added another linear search in Javascript
Updated linear search in JS