Fixed the reverted commit's js xD