If i put my .js files in sites->all->libraries folder. Will drupal recognize it ? Because i did not see the file in the source. Can i make it recognize ?
Just putting the files in a directory won't do any good.
You have to either put a reference to your file in your module.info file, or use drupal_add_js somewhere, depending on what you're trying to achieve.