Fix: JavaScript warnings