There is a need because it was placed in /vendor assets. In production asset precompile will by default included files but  only that placed in /asset folder not /vendor so there is a need to place this line to properly compile application.js on deploy. There is a possible that I'm wrong but I had a lot problems with multiple external libraries on rails 4.0 and that was the solution to properly compile it to production on Passenger.