Doctype Problem with k8s deploy but not in frappe_docker development

I have been playing with frappe and erpnext version14
The deployment environment using frappe_docker is working as expected.
Hence I decided to deploy using k8s using official helm chart the official docker images
frappe: version14-beta5 erpnext: version14-beta6

I can create site and do other task in the k8s deployment. However when I try to access the BOM or the Stock Entry doctype, the javascript failed to load with the error

TypeError: Class extends value undefined is not a constructor or null

to be more specific the errors are in: = class BomController extends erpnext.TransactionController {
of file /home/frappe/bench/apps/erpnext/erpnext/manufacturing/doctype/bom/bom.js

erpnext.stock.StockEntry = class StockEntry extends erpnext.stock.StockController of file /home/frappe/bench/apps/erpnext/erpnext/stock/doctype/stock_entry/stock_entry.js

I have been investigating the nginx pod but no luck yet