Kais suggested js tweak 2