Refactor: Move client lib into js/lib

Put lib, the folder that has third-party
libraries, under the main javascript folder.