get code js fix