JS SCRIPT FIX