Organize javaScript lib directory