Fix broken js