JS working correctly.