Aing JS tests