Fix useless testing javascript