Move js libs to their own subdirectories.