Remove unused js files and move api_bridge to the client/lib