[javascript] jQuery.inArray(), how to use it right?