FIX JS error