Move JS libs into lib directory