Someone who is working on the front-end without basic familiarity with computer science may not recognize such optimization opportunities and may not call a compiler expert in. Also, basic familiarity of computer science is useful for having the chops to validate an idea before wasting the time of an expert.