Standard Pipe Length In Javascript