[TASK] Replace Prototype in inline record JS