[BISERVER-10656] Subfloor-JS cleanup