[BISERVER-10656] Fixing Javascript build configurations