Fixed botched js