move lib out of js folder