stripped back all js internal