Fix Javascript