js set to array convertion changed for asset precompilation